package com.project.service;

import com.project.bean.SpeakBean;

import java.util.List;

public interface ISpeakService {
    public void add(SpeakBean speak);

    /**
     * 按书籍查询评论，同时查询评论用户名
     * @param bookId 书籍id
     * @return 评论集合
     */
    public List<SpeakBean> findByBook(int bookId);
}
